package com.huiminpay.merchant.convert;

import com.huiminpay.merchant.dto.MerchantDTO;
import com.huiminpay.merchant.vo.MerchantRegisterVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantVoConvert {

    MerchantVoConvert INTSTANCE = Mappers.getMapper(MerchantVoConvert.class);

    MerchantRegisterVo dto2MerchantRegisterVo(MerchantDTO dto);

    MerchantDTO MerchantRegisterVo2Dto(MerchantRegisterVo vo);
}